﻿using System;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Data.EntityClient;
using System.Data.Objects;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Altairis.FluffyCloud.Data {
    public class FluffyBindingContext : ObjectContext {

        public FluffyBindingContext()
            : this(new FluffyDbContext()) { }

        public FluffyBindingContext(IObjectContextAdapter dca)
            : base((EntityConnection)dca.ObjectContext.Connection, dca.ObjectContext.DefaultContainerName) { }
    }
}
